#define _CRT_SECURE_NO_WARNINGS
#include "game.h"
int GetMineCount(char board[Rows][Cols], int r, int c) {
	return board[r - 1][c - 1] + board[r - 1][c] + board[r - 1][c + 1] + board[r][c - 1] + board[r][c + 1] + board[r + 1][c - 1] + board[r + 1][c] + board[r + 1][c + 1] - 8 * '0';
}